package com.booby.bootweb.service;

import com.booby.bootweb.dao.ExtDictDao;
import com.booby.bootweb.dao.ExtStopwordDao;
import com.booby.bootweb.model.ExtDict;
import com.booby.bootweb.model.ExtStopword;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 功能描述:
 *
 * @author: lizt
 * @date: 2020/9/14 14:21
 **/
@Service
public class EsKeywordService {

    @Resource
    private ExtDictDao extDictDao;

    @Resource
    private ExtStopwordDao extStopwordDao;


    public List<ExtDict> getDicAll(){
        return extDictDao.getAll();
    }

    public List<ExtStopword> getStopwordAll(){
        return extStopwordDao.getAll();
    }
}
